import { request,uploadFile } from "@/utils/request";
import { PageParams } from "@/types/global";


//获取银行卡列表
export const getBankInfoList = () =>
  request<any>({
    method: "GET",
    url: "/bank/info/list"
  })


//添加银行卡
export const addBankInfo = (data:any) =>
   request<any>({
    method: "POST",
    url: "/bank/info/add",
    data
  })

